Hash Lookup on a Hash Cluster

Selecting rows from a hash cluster with a specific Cluster Key is one of the fastest ways to retrieve data from a table - faster than indexes. If you are selecting from or joining to a hash cluster using the Cluster Key, make sure that Oracle is using the Cluster Key. Run the SQL though Explain Plan and find the TABLE ACCESS line for the table in question.

If the row reads TABLE ACCESS (HASH) MY_TABLE, then Oracle is using hash access. Otherwise...

In any of these cases, Oracle thinks that it's alternative plan is better than Hash access; it could be right; the only way to be sure is to force hash acccess and compare to the default plan. Add a

Still not using TABLE ACCESS (HASH)?


©Copyright 2003